home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / fractal / kaos.lha / auxlib / aux_clear_region.c next >
Encoding:
C/C++ Source or Header  |  1989-11-18  |  384 b   |  17 lines

  1. /*
  2. ### clear an combined space (auxiliary space) window ###
  3. */
  4.  
  5. #include <suntool/sunview.h>
  6. #include <suntool/canvas.h>
  7. void aux_clear_region(aux_i)
  8. int aux_i;
  9. {
  10.         extern Canvas *aux_canvas;
  11.         extern Pixwin **aux_pw;
  12.  
  13.         pw_writebackground(aux_pw[aux_i], 0, 0, window_get(aux_canvas[aux_i], CANVAS_WIDTH), window_get(aux_canvas[aux_i], CANVAS_HEIGHT), PIX_CLR);
  14. }
  15.  
  16.  
  17.